package com.rightsidetech.activity.dto.request.ride;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class ByRideActReq implements Serializable {

    @ApiModelProperty(required = true)
    @NotNull(message = "id不能为空")
    @Min(value = 1, message = "id不能小于1")
    private Long id;

    @ApiModelProperty(value = "是否通过 -1拒绝 1-通过",required = true)
    @Range(min = -1,max = 1,message = "是否通过状态不正确")
    private Byte status;

    @ApiModelProperty("备注")
    private String remark;
}
